<%= @order_item.product.product_name %> <br />
<%= @order_item.product.product_description %> <br />
<form class="form-horizontal" action="/order/edit_order_item_submit" method="post">
<input type="hidden" name="productid" id="productid" value="<%= @order_item.product.id %>">
<input type="hidden" name="order_item_num" id="order_item_id" value="<%= @order_item.item_num %>">
<fieldset>
<legend>Edit Item</legend>
<div class="control-group">
<label class="control-label" for="input01" >Quantity</label>
<div class="controls">
<input type="text" class="input-xlarge" id="quantity" name="quantity" value="<%= @order_item.quantity %>">
<p class="help-block">Supporting help text</p>
</div>
</div>
<div class="control-group">
<label class="control-label" for="input01">Comments</label>
<div class="controls">
<textarea id="textarea" class="input-xlarge" rows="3" id="comments" name="comments" ><%= @order_item.comments %></textarea>
<p class="help-block">Supporting help text</p>
</div>
</div>
<button type="submit" class="btn">Update</button>
</fieldset>
</form>